cmake_minimum_required( VERSION 3.10 FATAL_ERROR )

project( "Assimp-main" LANGUAGES CXX )

set( ASSIMP_BUILD_ASSIMP_TOOLS 		OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_BUILD_ASSIMP_VIEW  		OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_BUILD_SAMPLES  			OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_BUILD_TESTS 			OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_INSTALL_PDB 			OFF  CACHE INTERNAL "" FORCE )
set( BUILD_SHARED_LIBS 				OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_OPT_BUILD_PACKAGES 		OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_ANDROID_JNIIOSYSTEM 	OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_NO_EXPORT 				OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_BUILD_ZLIB 				ON   CACHE INTERNAL "" FORCE )
set( ASSIMP_COVERALLS 				OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_INSTALL 				ON   CACHE INTERNAL "" FORCE )
set( ASSIMP_WARNINGS_AS_ERRORS 		OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_BUILD_DOCS 				OFF  CACHE INTERNAL "" FORCE )
set( ASSIMP_INJECT_DEBUG_POSTFIX	ON   CACHE INTERNAL "" FORCE )
set( ASSIMP_IGNORE_GIT_HASH 		ON   CACHE INTERNAL "" FORCE )
set( USE_STATIC_CRT 				ON   CACHE INTERNAL "" FORCE )
set( ASSIMP_HUNTER_ENABLED			OFF  CACHE INTERNAL "" FORCE )

set( ASSIMP_DOUBLE_PRECISION 		OFF )

set( AE_EXTERNAL_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../.." )
include( "${AE_EXTERNAL_PATH}/config.cmake" )

include( "origin_CMakeLists.txt" )

install( FILES "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE" DESTINATION "." )
